package com.ya;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Card {
    // 点数
    private String point;
    // 花色
    private String color;
    // 大小
    private int value;

    @Override
    public String toString() {
        return color+point;
    }
}
